/*
 * @Description: 
 * @Version: 1.0
 * @Author: wenbin
 * @Date: 2021-03-29 13:40:17
 * @LastEditors: wenbin
 * @LastEditTime: 2021-05-31 13:20:46
 * @FilePath: /magus-plugin/common/api/config.js
 * Copyright (C) 2021 wenbin. All rights reserved.
 */
import {
  post as commonPost,
  get as commonGet,
  deletes as commonDeletes,
  put as commonPut
} from './http'

let apiConfig = {
  post: function (url, param = '', headers={}, other={}) {
    return commonPost(url, param, headers, other)
  },
  get: function (url, param = '', headers={}, other={}) {
    return commonGet(url, param, headers, other)
  },
  deletes: function (url, param = '', headers={}, other={}) {
    return commonDeletes(url, param, headers, other)
  },
  put: function (url, param = '', headers={}, other={}) {
    return commonPut(url, param, headers, other)
  }
}


export default apiConfig;